package com.thz.system.service.blog;

import com.thz.common.core.result.Result;
import com.thz.system.pojo.blog.Blog;
import com.thz.system.pojo.blog.dto.AddBlogDTO;
import com.thz.system.pojo.blog.dto.UpdateBlogDTO;
import com.thz.system.pojo.blog.vo.BlogDetailsVO;

import java.util.List;

/**
 * @Description
 * @Author thz
 * @Date 2025/5/10
 */
public interface IBlogService {
    int addBlog(AddBlogDTO addBlogDTO);

    int updateBlog(UpdateBlogDTO updateBlogDTO);

    int deleteBlog(Long blogId);

    BlogDetailsVO getBlogDetail(Long blogId);

    List<Blog> list(Long courseId);
}
